-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 카카오 소셜 로그인 로직 구현 및 통신 #35
Conversation
- framer motion 적용
헉 너무 좋은 것 같아용 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
토큰 저장 방식은 해당 pr 머지 후에 바꾸시게 되는걸까요?!
제가 상대방이 받아보는 결과 페이지 로직 수정 후에 api 작업을 하려고 하는데, 통신을 위해서는 대부분 토큰이 필요해서 여쭤보는거에용!!
제가 상대방이 받아보는 결과 페이지 로직 수정 후에
(저도 이거 해야해서 절대 재촉이 아니라 단순 궁금증입니닷,,)
음 일단 (MVP) 로컬 스토리지에 저장해서 가져오는 방식으로 하려고 했는데 매번 로컬스토리지에서 불러와야 하니까 그냥 전역 상태로 관리할까ㅛㅇ.. ?? |
아핫!!! 아뇨아뇨 mvp로는 로컬스토리지에 저장해도 괜찮을 것 같아요,,, 다른 할 일도 있으니...🥹🥹 고생많으셨습니다! |
⚾️ Related Issues
📝 Task Details
📂 References
💕 Review Requirements
서버와 cors 문제로 잠시 쉬는중😴로컬에서만 테스트해 본 거라서, 서버 배포된 다음에 다시 테스트 해본 후 머지하는 것이 나을 것 같습니다!-> 🆗 통신 성공논의 사항
➡️ 일단 지금은 accessToken만 로컬에서 관리하고, 이후 url이 새로고침 될 때마다 refresh token을 request에 담아 새로운 accessToken을 발급 받고, 발급 받은 accessToken은 js private variable에 저장하는 방식으로 수정하려고 합니다!
이런 방식을 사용하는 경우, refresh token이 CSRF에 의해 사용된다 하더라도 공격자는 accessToken을 알 수 없다고 합니다